import Layout from '@/layout'

export default {
  path: '/lottery',
  component: Layout,
  redirect: '/lottery/index',
  name: 'Lottery',
  meta: { title: '抽奖', icon: 'message', noCache: true, roles: ['news'] },
  children: [
    {
      path: 'index',
      name: 'Lottery',
      component: () => import('@/views/news/lottery'),
      meta: { title: '抽奖', icon: 'star', noCache: true }
    },
    {
      path: 'list',
      name: 'LotteryResult',
      component: () => import('@/views/news/lottery-result'),
      meta: { title: '中奖结果', icon: 'star', noCache: true }
    }
  ]
}
